package br.com.naybee.domain.portabs;

import org.springframework.stereotype.Service;

import br.com.naybee.framework.client.dao.DaoImpl;
import br.com.naybee.framework.client.models.ListModel;
import br.com.naybee.framework.client.models.Model;

@Service
public class PortaBs extends DaoImpl {

	public ListModel listarPortas() {
		return list("listar-portas.sql");
	}

	public Model obterPorta(Model model) {
		return find("obter-porta.sql", model);
	}

	public void registrarPorta(Model param) {
		add("registrar-portas.sql", param);
	}

}
